home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
2336A.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-05-12
|
3KB
|
77 lines
echo off
if exist %2\ScrDisk1.Exe goto cont0
echo -------------------------------------------------------------------------
echo - ** ERROR ** file %2\ScrDisk1.Exe not found - Please try again and
echo - supply the drive of the installation diskette.
goto error
:cont0
if "%1" == "F" goto Floppy1
if "%1" == "f" goto Floppy1
if "%1" == "H" goto Hard1
if "%1" == "h" goto Hard1
echo -------------------------------------------------------------------------
echo - ** ERROR ** parameter 1 must be H or F - (H)ard disk or (F)loppy disk
goto error
echo -
:Hard1
If "%3"=="" goto cont1
md %3
md %3\Tutor
md %3\Doc
md %3\Interfac
md %3\demos
echo -------------------------------------------------------------------------
echo -
echo -Installing The Turbo ScrEdit Screen Editor
echo -
echo -------------------------------------------------------------------------
goto cont1
:Floppy1
echo -------------------------------------------------------------------------
echo -
echo -Insert diskette "1 of 5 Turbo ScrEdit - Editor"
echo - into %3
echo -
echo -------------------------------------------------------------------------
pause
:cont1
%2\ScrDisk1 -r %3 *.*
copy %2\Readme.doc %3
if "%1"=="H" goto Hard2
if "%1"=="h" goto Hard2
echo -------------------------------------------------------------------------
echo -
Echo -Insert diskette #2 "Tutor ScrEdit Tutor Parts 1 and 2"
echo - into %3
echo -
echo -------------------------------------------------------------------------
pause
%2\ScrDisk2 -r %3 *.*
echo on
%3\install2.bat %1 %2 %3
pause
:Hard2
echo -------------------------------------------------------------------------
echo -
echo -Installing Turbo ScrEdit Tutor PARTS I and II
echo -
echo -------------------------------------------------------------------------
%2\ScrDisk2 -r %3\tutor *.*
%3\Tutor\Install2 %1 %2 %3
pause
:error
echo -------------------------------------------------------------------------
echo - Install.Bat - The Turbo ScrEdit installion batch program.
echo -
echo - Correct format is:
echo -
echo - Install Option Path-1 Path-2
echo - ------ ------ ------
echo - Option: H for installation on a hard disk system.
echo - F for installation on a floppy disk system.
echo - Path-1: Drive:[\Path] of Turbo ScrEdit distrbution files.
echo - Path-2: Drive:[\Path] of directory where Turbo ScrEdit is to be
echo - intalled.(Hard drive user include path).
echo -------------------------------------------------------------------------